package com.njwb.day01;

public class Test02 {
    public static void main(String[] args) {
        //boolean类型
        boolean b=true;
        System.out.println(b);
        b=false;
        System.out.println(b);
        //char类型
        char c='A';
        System.out.println(c);
        //byte short int long
        //整数的字面量在程序中都以int类型表示
        byte bt=10;
        short s=10;
        int i=10;
        long l=10000000000000000l;
        l=10000000000000000L;
        System.out.println(bt);
        System.out.println(s);
        System.out.println(i);
        System.out.println(l);
        //float double
        double d=1.234;
        float f=1.234f;
        f=1.234F;
        System.out.println(d);
        System.out.println(f);
    }
}
